<div class="site-showcase">
  <!-- Start Page Header -->
  <div class="parallax page-header" style="background-image:url(http://placehold.it/1200x260&amp;text=IMAGE+PLACEHOLDER);">
  		<div class="container">
        	<div class="row">
            	<div class="col-md-12">
  					<h1><?php echo __('Shopping Cart'); ?></h1>
        		</div>
           </div>
       </div>
  </div>
  <!-- End Page Header -->
  </div>
  
    <div class="main" role="main">
      <div id="content" class="content full">
        	<div class="container">
          		<div class="page">
        			<div class="row">

  <?php echo $this->set('title_for_layout', 'Shopping Cart'); ?>


<?php echo $this->Html->script(array('cart.js'), array('inline' => false)); ?>


<?php if(empty($shop['Package'])) : ?>

Shopping Cart is empty

<?php else: ?>

<?php echo $this->Form->create(NULL, array('url' => array('controller' => 'shop', 'action' => 'cartupdate'))); ?>

<hr>

<div class="row">
    <div class="col col-sm-1">#</div>
    <div class="col col-sm-7">ITEM</div>
    <div class="col col-sm-1">PRICE</div>
    <div class="col col-sm-1">Months</div>
    <div class="col col-sm-1">SUBTOTAL</div>
    <div class="col col-sm-1">REMOVE</div>
</div>

<?php $tabindex = 1; ?>

    <div class="row" id="row-<?php echo 1; ?>">
        <div class="col col-sm-1"><?php //echo $this->Html->image('/images/small/' . $shop['Package']['image'], array('class' => 'px60')); ?></div>
        <div class="col col-sm-7">
            <strong><?php echo $this->Html->link($shop['Package']['title'], array('controller' => 'products', 'action' => 'view', $shop['Package']['id'])); ?></strong>
        </div>
        <div class="col col-sm-1" id="price-<?php echo 1; ?>"><?php echo $shop['Package']['price']; ?></div>
        <div class="col col-sm-1"><?php echo  $shop['Package']['months']; ?></div>
        <div class="col col-sm-1" id="subtotal_<?php echo 1; ?>"><?php echo $shop['Package']['price']; ?></div>
        <div class="col col-sm-1"><span class="remove" id="<?php echo 1; ?>"></span></div>
    </div>

<hr>

<div class="row">
    <div class="col col-sm-12">
        <div class="pull-right">
        <?php echo $this->Html->link('<i class="icon-remove icon"></i> Clear Cart', array('controller' => 'shop', 'action' => 'clear'), array('class' => 'btn btn-danger', 'escape' => false)); ?>
        &nbsp; &nbsp;
        <?php echo $this->Form->end(); ?>
        </div>
    </div>
</div>

<hr>

    <div class="col-md-12 col col-sm-12 tr">
            <div class="pull-right">
        Package Total: <span class="red" id="total">$<?php echo $shop['Package']['total']; ?></span>
        <br />
        <br />

        <?php echo $this->Form->postLink('<i class="glyphicon glyphicon-arrow-right"></i> Checkout', array('controller' => 'shop', 'action' => 'package_address'), array('class' => 'btn btn-primary', 'escape' => false)); ?>

        <br />
        <br />

        <?php echo $this->Form->create(NULL, array('url' => array('controller' => 'Shop', 'action' => 'package_step1'))); ?>
        <input type='image' name='submit' type="submit" src='https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif' border='0' align='top' alt='Check out with PayPal' class="sbumit" />
        <?php echo $this->Form->end(); ?>

    </div>
</div>
<br />
<br />

<?php endif; ?>
	</div>
        		</div>
      		</div>
    	</div>
  </div>